﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Net10_EF
{
    [Table("t_user")]
    public class User
    {
        [Key]
        [Column("id", TypeName = "int")]
        public int Id { get; set; }
        [Column("name", TypeName = "varchar(30)")]
        public string Name { get; set; }
        [Column("create_time")]
        public DateTime CreateTime { get; set; }
    }
}
